Adwaita: entry icons position fix
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Jul 2014 13:25:22 +0000 (15:25 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Jul 2014 13:25:22 +0000 (15:25 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 0e6d51a70a062940d84a0705550057f82144cf71..0d455012b71116e5274fe00f9b24f46c32daf25c 100644 (file)
@@ -173,6 +173,10 @@ GtkLabel {
 
 .entry {
   padding: 5px 8px 6px;
+  &.image { // icons inside the entry
+    &.left { padding-left: 0; }
+    &.right { padding-right: 0; }
+  }
   border-radius: 3px;
   transition: all 200ms ease-out;
   @include entry(normal);
index ef66173932dc9d41e87d4fd6a320fc355c9ee7ba..be91f42dc165bb771606acafd4c7a867782e0aa4 100644 (file)
   background-image: linear-gradient(to bottom, #212121, #292929 90%);
   border-color: #1c1f1f;
   box-shadow: inset 0 2px 2px -2px #141414, inset 0 0 2px 1px rgba(39, 51, 64, 0), 0 1px rgba(238, 238, 236, 0.1); }
+  .entry.image.left {
+    padding-left: 0; }
+  .entry.image.right {
+    padding-right: 0; }
   .entry.flat, .entry.flat:focus {
     padding: 2px;
     background-color: transparent;
index 4070b7d12c2dc53cf6333aab62364263f53cb93f..b04a1d7723b6610a57989e4539b72f209da9e631 100644 (file)
   background-image: linear-gradient(to bottom, #f7f7f7, white 90%);
   border-color: #a1a1a1;
   box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px rgba(218, 232, 247, 0), 0 1px white; }
+  .entry.image.left {
+    padding-left: 0; }
+  .entry.image.right {
+    padding-right: 0; }
   .entry.flat, .entry.flat:focus {
     padding: 2px;
     background-color: transparent;